package summer_vacation.liqiqi.day37;

/**
 * Created by uw on 2015/8/31.
 */
public class zhengchu {
    public static void main(String[] args){
        int shu=0;
        for(int i=10000;i<=99999;i++){
            if(i%10000%1000%100%10==6&&i%31==0){
                shu++;
                System.out.println(i);
                System.out.println(shu);
            }
        }
    }
}
